import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter)

const routes = [
  {
    path: '/index',
    name: 'index',
    component: () => import('../views/system/index.vue')
  },
  // 分控
  {
    path: '/index2',
    name: 'index2',
    component: () => import('../views/fengkong/index.vue')
  },
  // 用户
  {
    path: '/index3',
    name: 'index3',
    component: () => import('../views/yonghu/index.vue')
  },
   // 平台
   {
    path: '/index5',
    name: 'index5',
    component: () => import('../views/pingtai/index.vue')
  },
   // 运营
   {
    path: '/index6',
    name: 'index6',
    component: () => import('../views/operating/index.vue')
  },
   // 概览
   {
    path: '/index7',
    name: 'index7',
    component: () => import('../views/overview/index.vue')
  },
  // 总共
  {
    path: '/',
    name: 'total',
    component: () => import('../views/total.vue')
  },
]
const router = new VueRouter({
  // mode: "history",
  mode: 'hash',
  routes
})

export default router